<?php


//后台管理
class Admin_controller extends CI_Controller{
	
	//后台管理文件夹
	public $_admin_dir;
	
	public function __construct()
	{
		parent::__construct();
		$this->load->helper('url');
		$this->load->library('Auth');
		$this->_admin_dir = $this->config->item('admin_dir');	
		$this->auth->check_login();	
		
	}
}

//前台管理
class Base_Controller extends CI_Controller{
	
	public function __construct()
	{
		parent::__construct();
	}
	
}